package com.bosssoft.service;

import java.util.List;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.bosssoft.entity.dto.FibIndicatorsDTO;
import com.bosssoft.entity.po.FibIndicatorsPO;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bosssoft.entity.vo.FibIndicatorsVO;

/**
 * @author Li kexi
 * Created on 2021/8/20.17:42
 */
public interface FibIndicatorsService extends IService<FibIndicatorsPO>{


    int updateBatch(List<FibIndicatorsPO> list);

    int updateBatchSelective(List<FibIndicatorsPO> list);

    int batchInsert(List<FibIndicatorsPO> list);

    int insertOrUpdate(FibIndicatorsPO record);

    int insertOrUpdateSelective(FibIndicatorsPO record);

    Page<FibIndicatorsVO> selectAllByPage(FibIndicatorsVO fibIndicatorsVO,Integer current, Integer size);

    Page<FibIndicatorsVO> selectByStatus(Integer current, Integer size, Integer status);

    Page<FibIndicatorsVO> selectByType(Integer current, Integer size, Integer indType);

    int inputIndicators(FibIndicatorsDTO fibIndicatorsDTO);

    boolean auditPass(Long id, Integer status);

    boolean auditReject(Long id, Integer status);

    boolean distribution(FibIndicatorsDTO indicatorsDTO);
}
